package com.js.basicutils.permission;

// Created by JS on 2021/1/16.

import android.Manifest;

public final class PermissionConstant {
    // 存储相关
    public static final String READ_EXTERNAL_STORAGE = Manifest.permission.READ_EXTERNAL_STORAGE;
    public static final String WRITE_EXTERNAL_STORAGE = Manifest.permission.WRITE_EXTERNAL_STORAGE;
    public static final String[] EXTERNAL_STORAGE_GROUP = {READ_EXTERNAL_STORAGE, WRITE_EXTERNAL_STORAGE};

    // 相机
    public static final String CAMERA = Manifest.permission.CAMERA;

    // 定位相关
    public static final String COARSE_LOCATION = Manifest.permission.ACCESS_COARSE_LOCATION;
    public static final String FINE_LOCATION = Manifest.permission.ACCESS_FINE_LOCATION;

    // 系统相关
    public static final String READ_PHONE_STATE = Manifest.permission.READ_PHONE_STATE; // 获取手机状态权限
    public static final String CALL_PHONE = Manifest.permission.CALL_PHONE; // 打电话权限
    public static final String WRITE_SETTINGS = Manifest.permission.WRITE_SETTINGS; // 写入设置
}
